let env = "";
try{
	env = __wxConfig.envVersion
}catch(e){}

let devHost = "https://vpp.hnzhbj.com/";
let proHost = "https://vpp.hnzhbj.com/"



// let wsDevHost = "ws://192.168.180.189:8130/ws"
let wsDevHost = "wss://vpp.hnzhbj.com/prod-api/websocket/"
let wsProHost = "wss://vpp.hnzhbj.com/prod-api/websocket/"
if(!(env === 'develop' || env === 'trial')){
	proHost = "https://vpp.hnzhbj.com/"
	wsProHost = "wss://vpp.hnzhbj.com/prod-api/websocket/"
}
export const baseurl = process.env.NODE_ENV === 'development' ? devHost : proHost;
export const websocketUrl = process.env.NODE_ENV === 'development' ? wsDevHost : wsProHost;